#ifndef DAEMON_DEVFOUND_H
#define DAEMON_DEVFOUND_H

#include "Daemon_Init.h"


#define PORT_DEVFIND_UDP_RESP		50001  //UDP设备搜寻回应端口
#define PORT_DEVFIND_UDP_SEARCH		50002  //UDP设备搜寻信号端口

//#define PORT_DEVFIND_UDP_RESP               40001               //UDP设备搜寻回应端口
//#define PORT_DEVFIND_UDP_SEARCH             40002               //UDP设备搜寻信号端口
#define DEVFOUND_MULTICASE_ADDR				"230.1.1.1"
#ifdef BATTERY_PRODUCT
#define SOFTVER_FILE_PATH 					"/app/verinfo"
#else
#define SOFTVER_FILE_PATH 					"/app/ipcam/verinfo"
#endif

typedef	enum{
        NETPARAM_IP_MODE 	=0,
        NETPARAM_DHCP_MODE 	=1,
        NETPARAM_PPPOE_MODE =2,
        NETPARAM_WIFI_MODE	=3
}ENU_IPFETCHMODE;

BOOL Daemon_StartNetFound(LPTHREAD_ARG* arg);
#endif //DAEMON_DEVFOUND_H

